﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Admin.aspx.cs" Inherits="Arbetsfornedringen.Pages.Admin" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentHead" runat="server">
    <link href="../Styles/AdminStyle.css" rel="stylesheet" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <div>
        <asp:Button ID="ShowHeadHunters" runat="server" Text="Visa Headhunters" OnClick="ShowHeadHunters_Click" Font-Bold="True" ForeColor="#E46A18" BackColor="#2D3134" />
        <asp:Button ID="ShowUsers" runat="server" Text="Visa Arbetsökande" OnClick="ShowUsers_Click" Font-Bold="True" ForeColor="#E46A18" BackColor="#2D3134" />
        <asp:Button ID="ShowAddUser" runat="server" Text="Lägg till konto" OnClick="ShowAddUser_Click" Font-Bold="True" ForeColor="#E46A18" BackColor="#2D3134" />
        <asp:Button ID="DeleteExpired" runat="server" Text="Ta bort utgångna annonser (0)" OnClick="DeleteExpired_Click" Font-Bold="True" ForeColor="#E46A18" BackColor="#2D3134" />
        <asp:GridView ID="GridViewAccount" runat="server" AutoGenerateColumns="False" OnRowDeleted="GridViewAccount_RowDeleted" OnRowDeleting="GridViewAccount_RowDeleting" ForeColor="#FF6600">
            <Columns>
                <asp:BoundField DataField="AccountId" HeaderText="AccountId" Visible="False" />
                <asp:BoundField DataField="CompleteName" HeaderText="Namn" />
                <asp:BoundField DataField="Email" HeaderText="Email" />
                <asp:BoundField DataField="PhoneNumber" HeaderText="Telefon" />
                <asp:CommandField DeleteText="Ta bort" ShowDeleteButton="True" />
            </Columns>
            <HeaderStyle ForeColor="#FF6600" CssClass="HeaderStyle" />
        </asp:GridView>
    </div>
</asp:Content>
